package com.chinasofti.io;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

public class Demo01 {
        public static void main(String[] args) throws IOException {

            File file = new File("java0419\\aaa");
            file.mkdir();
            File file1 = new File("java0419\\aaa\\bbb");
            file1.mkdir();
            FileOutputStream fileOutputStream = new FileOutputStream("java0419\\aaa\\bbb\\a.txt");
            byte [] bytes ="Hello".getBytes();
            fileOutputStream.write(bytes,0,bytes.length);
        }

}
